API Documentation
DepthStencilStateManager.h
1 // DepthStencilStateManager.h
3 //
5 
6 namespace nkGraphics
7 {
13  class DLL_GRAPHICS_EXPORT DepthStencilStateManager : public nkCommon::SingletonClass<DepthStencilStateManager>
14  {
15  public :
16 
21 
28  DepthStencilState* createOrRetrieve (const std::string_view& name) ;
35  DepthStencilState* get (const std::string_view& name) ;
44  DepthStencilState* getByIndex (unsigned int index) ;
51  void rename (const std::string_view& oldName, const std::string_view& newName) ;
57  void erase (const std::string_view& name) ;
58 
63  } ;
64 }
nkGraphics::DepthStencilStateManager::getDefaultState
DepthStencilState * getDefaultState() const
nkGraphics::DepthStencilStateManager::createOrRetrieve
DepthStencilState * createOrRetrieve(const std::string_view &name)
nkGraphics::DepthStencilStateManager
Manages the depth and stencil states available in the component.
Definition: DepthStencilStateManager.h:14
nkGraphics::DepthStencilStateManager::~DepthStencilStateManager
~DepthStencilStateManager()
nkGraphics::DepthStencilStateManager::get
DepthStencilState * get(const std::string_view &name)
nkGraphics::DepthStencilStateManager::rename
void rename(const std::string_view &oldName, const std::string_view &newName)
nkGraphics::DepthStencilState
Holds information about a depth and stencil state used for rendering.
Definition: DepthStencilState.h:12
nkGraphics::DepthStencilStateManager::getByIndex
DepthStencilState * getByIndex(unsigned int index)
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::DepthStencilStateManager::erase
void erase(const std::string_view &name)